package router

import (
	"api-gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func EquipmentRouter(v1 *gin.RouterGroup) {
	equipment := v1.Group("/equipment")
	{
		equipment.POST("/equipmentAdd", api.EquipmentAdd)        //设备添加
		equipment.POST("/equipmentDel", api.EquipmentDel)        //设备删除
		equipment.POST("/equipmentUpdate", api.EquipmentUpdate)  //设备修改
		equipment.GET("/equipmentFind", api.EquipmentFind)       //设备展示
		equipment.GET("/equipmentDetails", api.EquipmentDetails) //设备详情
	}
}
